package cn.yitun.chat.yitunservercommonlib.dataentity.vo.login;

import cn.yitun.chat.yitunservercommonlib.crud.yitun.BaseVo;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class IpAddrVo extends BaseVo{
    /**
     * ip4
     */
    private String ip;
    /**
     * ip定位
     */
    private String ipAddr;
    /**
     * 国家
     */
    private String country;
    /**
     * 省直辖市
     */
    private String province;
    /**
     * 地市
     */
    private String city;
    /**
     * 服务商
     */
    private String serviceComp;
    /**
     * 中间码
     */
    private String code;



    public IpAddrVo(String ip , String ipAddr) {
        this.ip = ip ;
        this.ipAddr = ipAddr ;
    }

    @Override
    public String toString() {
        return "IpAddrVo{" +
                "ip='" + ip + '\'' +
                ", ipAddr='" + ipAddr + '\'' +
                ", country='" + country + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", serviceComp='" + serviceComp + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
